<template>
  <div class="slot-demo">
    <slot>默认内容</slot>------------
    <slot name="body">默认body内容</slot>
  </div>
</template>

<script setup>
import { useAttrs } from 'vue'

const attrs = useAttrs()
console.log(attrs)
</script>

<style></style>
